package com.thunisoft.netty.custom;

/**
 * 消息体内容
 * 
 * @title CustomMessage.java
 * @package com.thunisoft.netty.custom
 * @projectName spring.boot
 * @author yzj
 * @date 2019年10月8日 下午4:55:42
 */
public class CustomMessage {

	private CustomHeader header;
	
	private String content;

	public CustomMessage(CustomHeader header, String content) {
		super();
		this.header = header;
		this.content = content;
	}

	/**
	 * @return the header
	 */
	public CustomHeader getHeader() {
		return header;
	}

	/**
	 * @param header the header to set
	 */
	public void setHeader(CustomHeader header) {
		this.header = header;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "CustomMessage [header=" + header + ", content=" + content + "]";
	}
	
	
}
